import QtQuick 2.12
import QtQuick.Window 2.12
import QtQuick.Controls 2.12
import QtQuick.Layouts 1.12

ApplicationWindow {
    visible: true
    width: 800
    height: 600

    title: qsTr("QtQuick Application Window Manual")

    //header
    header: MyHeader{
        id: myHeader
        height: 180
        labelMsg: myFooter.labelMsg
    }

    //body
    MyBody{
        id:myBody
        width: parent.width
        anchors{
            bottom: myFooter.top
            bottomMargin: 0
            top: myHeader.bottom
            topMargin: 0
        }
    }

    //footer
    footer: MyFooter{
        id:myFooter
        height:40
    }

}
